:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #f43f5e;
    --secondary-dark: #e11d48;
    --secondary-light: #fb7185;
    --accent: #8b5cf6;
    --accent-dark: #7c3aed;
    --accent-light: #a78bfa;
    --dark: #1e293b;
    --dark-light: #334155;
    --light: #f8fafc;
    --light-dark: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --border-radius: 12px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  ul {
    list-style: none;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Header */
  /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            transition:  all 0.3s ease;
        }

        .header.scrolled {
            padding: 10px 0;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
        }

        .logo {
            font-size: 28px;
            font-weight: 700;
            color:  #4361ee;;
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: 'Playfair Display', serif;
        }

        .nav {
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .nav-link {
            font-weight: 500;
            position: relative;
            padding: 5px 0;
            transition:  all 0.3s ease;
        }

        .nav-link:hover {
            color:  #4361ee;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background:  #4361ee;
            transition:  all 0.3s ease;
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

        .mobile-nav-link:hover::after,
        .mobile-nav-link.active::after {
            width: 100%;

        }

        .nav-link.active,
        .mobile-nav-link.active {
            color:  #4361ee;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            color: #1e293b;
            cursor: pointer;
        }

        /* Profile Button */
        .profile-btn {
            display: flex;
            align-items: center;
            gap: 10px;
            background: white;
            border: none;
            padding: 9px 14px;
            border-radius: 25px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .profile-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }

        .profile-avatar, .profile-img {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            object-fit: cover;
            background: #4f46e5;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 16px;
        }

        .auth-container {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .auth-btn {
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 500;
            transition:  all 0.3s ease;
            border: none;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
        }

        .sign-in-btn {
            background: transparent;
            color:  #4361ee;
            border: 1px solid  #4361ee;
        }

        .sign-in-btn:hover {
            background: #4361ee;
            color: white;
        }

        .sign-up-btn {
            background:  #4361ee;
            color: white;
        }

        .sign-up-btn:hover {
            background:  #3a56d4;
        }

        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 80%;
            max-width: 400px;
            height: 100%;
            background-color: #ffffff;
            z-index: 9999;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            transition: right 0.3s ease-in-out;
            box-shadow:  0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }

        .mobile-menu-close {
            background: transparent;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
        }

        .mobile-nav {
            flex: 1;
        }

        .mobile-nav-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .mobile-nav-link {
            font-size: 1.1rem;
            font-weight: 500;
        }

        .mobile-nav-link.active {
            color:  #4361ee;
        }

        /* Mobile Profile Section */
        .mobile-profile-section {
            padding: 0.5rem 0;
            margin: 2rem 0;
            margin-top: 0rem;
            
        }

        .mobile-profile-section .profile-btn {
            width: 90%;
            justify-content: flex-start;
            padding: 2px;
            margin-bottom: 0;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border: 1px solid #dee2e6;
        }

        .mobile-profile-section .profile-btn:hover {
            background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
            transform: translateY(-1px);
        }

        .mobile-profile-section .profile-avatar,
        .mobile-profile-section .profile-img {
            width: 45px;
            height: 45px;
            font-size: 18px;
        }

        .mobile-profile-info {
            flex: 1;
            text-align: left;
        }

        .mobile-profile-info h3 {
            font-size: 1.1rem;
            margin-bottom: 0.25rem;
            color:#1e293b;
        }

        .mobile-profile-info p {
            font-size: 0.9rem;
            color: #94a3b8;
            margin: 0;
        }

        /* Mobile Auth Section for non-logged users */
        .mobile-auth-section {
            margin: 1rem 0;
            margin-top:1rem;
            border-top: 1px solid  #e2e8f0;
            border-bottom: 1px solid  #e2e8f0;
            text-align: center;
        }

        .mobile-auth-section .auth-btn {
            width: 100%;
            margin-bottom: 10px;
            padding: 9px 15px;
            font-size: 16px;
        }

        .mobile-menu-footer {
            margin-top: 2rem;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #f9fafb;
            color: #4361ee;
            transition:  all 0.3s ease;
        }

        .social-link:hover {
            background-color: #4361ee;
            color: #ffffff;
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 25px;
            background: #4361ee;
            color: white;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            transition:  all 0.3s ease;
            text-align: center;
        }

        .btn:hover {
            background:  #3a56d4;
            transform: translateY(-3px);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }

        .btn.secondary {
            background: #f72585;
        }

        .btn.secondary:hover {
            background:  #e91c7b;
        }

        .btn.outline {
            background: transparent;
            border: 2px solid  #4361ee;
            color:  #4361ee;
        }

        .btn.outline:hover {
            background:  #4361ee;
            color: white;
        }

        .btn-primary {
            background-color:  #4361ee;
            color: #ffffff;
        }

        .btn-primary:hover {
            background-color:  #3a56d4;
        }

        .btn-block {
            width: 100%;
        }

        /* Profile Slide Panel */
        .profile-slide {
           position: fixed;
            top: 0;
            right: -400px;
            width: 400px;
            height:  100%;
            background: white;
            box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
            transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: 1001;
            overflow-y: auto;
        }

        .profile-slide.active {
            right: 0;
        }

        .profile-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 30px 20px;
            position: relative;
        }

        .close-btn {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease;
        }

        .close-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .profile-info {
            text-align: center;
        }

        .profile-picture {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            border: 3px solid white;
            margin-bottom: 15px;
            object-fit: cover;
            background: #4f46e5;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 28px;
            margin: 0 auto 15px;
        }

        .username {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .membership-badge {
            display: inline-block;
        }

        .badge {
            background: rgba(255, 255, 255, 0.2);
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
            backdrop-filter: blur(10px);
        }

        .profile-content {
            padding: 30px 20px;
        }

        .info-section {
            margin-bottom: 30px;
        }

        .info-section h3 {
            color: #333;
            margin-bottom: 10px;
            font-size: 18px;
        }

        .info-section p {
            color: #666;
            line-height: 1.6;
            font-size: 14px;
        }

        .details-section1 {
            margin-bottom: 30px;
        }

        .details-toggle {
            width: 100%;
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            padding: 15px 20px;
            border-radius: 10px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 16px;
            font-weight: 500;
            color: #333;
            transition: all 0.3s ease;
        }

        .details-toggle:hover {
            background: #e9ecef;
        }

        .arrow {
            transition: transform 0.3s ease;
        }

        .arrow.rotated {
            transform: rotate(180deg);
        }

        .details-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
            background: #f8f9fa;
            border-radius: 0 0 10px 10px;
        }

        .details-content.expanded {
            max-height: 400px;
            padding: 20px;
            border: 1px solid #e9ecef;
            border-top: none;
        }

        .detail-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #e9ecef;
        }

        .detail-item:last-child {
            border-bottom: none;
        }

        .detail-item label {
            font-weight: 500;
            color: #555;
            font-size: 14px;
        }

        .detail-item span {
            color: #333;
            font-size: 14px;
        }

        .status-badge {
            padding: 4px 12px;
            border-radius: 15px;
            font-size: 12px;
            font-weight: 500;
        }

        .status-badge.verified {
            background: #d4edda;
            color: #155724;
        }

        .status-badge.unverified {
            background: #f8d7da;
            color: #721c24;
        }

        .actions-section {
            display: flex;
            gap: 10px;
        }

        .action-btn {
            flex: 1;
            padding: 12px 20px;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .action-btn.primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        .action-btn.primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

        .action-btn.secondary {
            background: #f8f9fa;
            color: #333;
            border: 1px solid #e9ecef;
        }

        .action-btn.secondary:hover {
            background: #e9ecef;
        }

        /* Edit Profile Modal */
        .edit-modal {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.9);
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            z-index: 1002;
            width: 90%;
            max-width: 400px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .edit-modal.active {
            opacity: 1;
            visibility: visible;
            transform: translate(-50%, -50%) scale(1);
        }

        .edit-modal h3 {
            margin-bottom: 20px;
            color: #333;
            font-size: 20px;
            text-align: center;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #555;
            font-size: 14px;
        }

        .form-group input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #e9ecef;
            border-radius: 8px;
            font-size: 14px;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus {
            outline: none;
            border-color: #667eea;
        }

        .modal-actions {
            display: flex;
            gap: 10px;
        }

        .modal-actions button {
            flex: 1;
            padding: 12px 0;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .modal-actions .save-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        .modal-actions .save-btn:hover {
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

        .modal-actions .cancel-btn {
            background: #f8f9fa;
            color: #333;
            border: 1px solid #e9ecef;
        }

        .modal-actions .cancel-btn:hover {
            background: #e9ecef;
        }

        /* Overlay */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .overlay.active {
            opacity: 1;
        }

  /* Hero Section */
  .hero {
    position: relative;
    padding: 180px 0 120px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    color: white;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
  }

  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
  }

  .hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
  }

  .hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
  }

  .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
  }

  .hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }

  .hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f8fafc' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
  }

  /* Section Styles */
  .section {
    padding: 100px 0;
  }

  .section-header {
    text-align: center;
    margin-bottom: 60px;
  }

  .section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
  }

  .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 2px;
  }

  .section-subtitle {
    font-size: 18px;
    color: var(--dark-light);
    max-width: 700px;
    margin: 0 auto;
  }

  /* English Tests Section */
  .english-tests {
    background-color: white;
  }

  .tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }

  .test-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
  }

  .test-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
  }

  .test-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    z-index: 1;
  }

  .test-card-header {
    padding: 25px;
    border-bottom: 1px solid var(--light-dark);
  }

  .test-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
  }

  .test-card-body {
    padding: 25px;
  }

  .test-card-description {
    margin-bottom: 20px;
    color: var(--dark-light);
  }

  .test-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
  }

  .test-card-btn:hover {
    background: var(--primary);
    color: white;
  }

  .test-card-details {
    padding: 0 25px 25px;
    display: none;
  }

  .test-card-details.active {
    display: block;
    animation: fadeIn 0.5s ease;
  }

  .test-card-details ul {
    border-top: 1px solid var(--light-dark);
    padding-top: 15px;
  }

  .test-card-details li {
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
  }

  .test-card-details li strong {
    min-width: 120px;
    color: var(--dark);
  }

  /* Resources Section */
  .resources {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
  }

  .resources::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    z-index: 0;
  }

  .resources::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--secondary-light), var(--primary-light));
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    z-index: 0;
  }

  .resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
  }

  .resource-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
  }

  .resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
  }

  .resource-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--light-dark);
  }

  .resource-card-body {
    padding: 20px;
  }

  .resource-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
  }

  .resource-card-description {
    font-size: 14px;
    color: var(--dark-light);
    margin-bottom: 15px;
  }

  .resource-card-actions {
    display: flex;
    gap: 10px;
  }

  .resource-card-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
  }

  .resource-card-btn.primary {
    background: var(--primary);
    color: white;
  }

  .resource-card-btn.primary:hover {
    background: var(--primary-dark);
  }

  .resource-card-btn.secondary {
    background: var(--light-dark);
    color: var(--dark);
  }

  .resource-card-btn.secondary:hover {
    background: #d1d5db;
  }

  /* Visa Process Section */
  .visa-process {
    background-color: white;
  }

  .process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
  }

  .process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 2px;
  }

  .timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
  }

  .timeline-item:nth-child(odd) {
    justify-content: flex-start;
  }

  .timeline-item:nth-child(even) {
    justify-content: flex-end;
  }

  .timeline-item:nth-child(odd) .timeline-content {
    margin-right: 60px;
  }

  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 60px;
  }

  .timeline-dot {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow);
  }

  .timeline-content {
    width: calc(50% - 30px);
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    position: relative;
  }

  .timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: white;
    transform: rotate(45deg);
  }

  .timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px;
  }

  .timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
  }

  .timeline-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
  }

  .timeline-description {
    margin-bottom: 15px;
    color: var(--dark-light);
  }

  .timeline-details {
    background: var(--light);
    border-radius: 8px;
    padding: 15px;
  }

  .timeline-details li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
  }

  .timeline-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 18px;
    line-height: 1;
  }

  /* Tips Section */
  .tips {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
  }

  .tips::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.1;
  }

  .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }

  .tip-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary);
    transition: var(--transition);
  }

  .tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
  }

  .tip-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
  }

  .tip-card-description {
    color: var(--dark-light);
  }

  /* Resources Links Section */
  .resources-links {
    background-color: white;
  }

  .resources-list {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
  }

  .resources-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-dark);
  }

  .resources-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .resource-link {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
  }

  .resource-link:hover {
    color: var(--primary);
  }

  .resource-link-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
  }

  .resource-link-text {
    font-weight: 500;
  }

  /* Interview Questions Section */
  .interview-questions {
    background-color: var(--light);
  }

  .questions-accordion {
    max-width: 800px;
    margin: 0 auto;
  }

  .question-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .question-header {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition);
  }

  .question-header:hover {
    background: var(--light);
  }

  .question-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--dark);
  }

  .question-icon {
    color: var(--primary);
    transition: var(--transition);
  }

  .question-item.active .question-icon {
    transform: rotate(180deg);
  }

  .question-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .question-item.active .question-body {
    max-height: 500px;
  }

  .question-answer {
    padding: 0 25px 25px;
    color: var(--dark-light);
    border-top: 1px solid var(--light-dark);
  }

  /* Upload Section */
  .upload {
    background-color: white;
    position: relative;
    overflow: hidden;
  }

  .upload::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.1;
  }

  .upload-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
  }

  .upload-area {
    border: 2px dashed var(--primary-light);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
  }

  .upload-area:hover {
    border-color: var(--primary);
    background: var(--light);
  }

  .upload-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
  }

  .upload-text {
    margin-bottom: 15px;
    color: var(--dark-light);
  }

  .upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
  }

  .upload-description {
    margin-bottom: 30px;
  }

  .upload-description label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--dark);
  }

  .upload-description textarea {
    width: 100%;
    height: 120px;
    padding: 15px;
    border: 1px solid var(--light-dark);
    border-radius: 8px;
    resize: none;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
  }

  .upload-description textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
  }

  .upload-btn {
    display: block;
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
  }

  .upload-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
  }

  /* Footer */
  .footer {
    background: #1e293b;
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
}

.footer-logo-icon {
    background: white;
    color:'Playfair Display', serif;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition:  all 0.3s ease;
}

.footer-social-link:hover {
    background:  #4361ee;;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background:  #4361ee;;
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition:  all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-contact-icon {
    color: var(--primary);
    font-size: 18px;
    margin-top: 3px;
}

.footer-contact-text {
    color: rgba(255, 255, 255, 0.7);
}

.footer-form {
    margin-top: 20px;
}

.footer-form-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-form-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius:  8px;
    color: white;
    margin-bottom: 10px;
    font-family:'Poppins', sans-serif;
    outline: none;
    transition:  all 0.3s ease;
}

.footer-form-input:focus {
    border-color: #4361ee;
}

.footer-form-btn {
    width: 100%;
    padding: 12px 15px;
    background:  #4361ee;
    color: white;
    border: none;
    border-radius:  8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-form-btn:hover {
    background:#3a56d4;
}

/* .footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
} */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
  }
  
  .footer-legal {
    display: flex;
    gap: 1.5rem;
  }
  
  /* Back to Top Button */
  .back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
  }
  
  .back-to-top.active {
    opacity: 1;
    visibility: visible;
  }
  
  .back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
  }
  
  

  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  /* Responsive Styles */
  @media (max-width: 992px) {
    .hero-title {
      font-size: 42px;
    }

    .section {
      padding: 80px 0;
    }

    .process-timeline::before {
      left: 30px;
    }

    .timeline-item {
      justify-content: flex-start !important;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
      margin-left: 80px;
      margin-right: 0;
      width: calc(100% - 80px);
    }

    .timeline-dot {
      left: 30px;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
      left: -10px;
      right: auto;
    }
  }

  @media (max-width: 768px) {
    .header-container {
      padding: 15px 0;
    }

    .nav {
      position: fixed;
      top: 0;
      right: -300px;
      width: 280px;
      height: 100vh;
      background: white;
      flex-direction: column;
      align-items: flex-start;
      padding: 80px 30px 30px;
      box-shadow: var(--shadow-lg);
      transition: var(--transition);
      z-index: 999;
    }

    .nav.active {
      right: 0;
    }

    .nav-link {
      width: 100%;
      padding: 12px 0;
      border-bottom: 1px solid var(--light-dark);
    }

    .nav-link::after {
      display: none;
    }

    .mobile-menu-btn {
      display: block;
      z-index: 1000;
    }

    .mobile-menu-btn.active i::before {
      content: '\f00d';
    }

    .hero {
      padding: 150px 0 100px;
    }

    .hero-title {
      font-size: 36px;
    }

    .hero-subtitle {
      font-size: 18px;
    }

    .section-title {
      font-size: 30px;
    }

    .upload-container {
      padding: 30px 20px;
    }
    .footer-bottom {
        flex-direction: column; /* Stack bottom section vertically */
        align-items: flex-start;
        gap: 10px;
    }

    .profile-slide {
      width: 80%;
    }

  }

  @media (max-width: 576px) {
    .hero-title {
      font-size: 32px;
    }

    .section {
      padding: 60px 0;
    }

    .section-title {
      font-size: 26px;
    }

    .timeline-content {
      padding: 20px;
    }

    .profile-slide {
      width: 80%;
    }
  }

  /* For screens smaller than 768px */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Stack the sections vertically */
        gap: 20px;
    }

    .footer-logo {
        font-size: 20px; /* Slightly reduce font size for smaller screens */
    }

    .footer-description {
        font-size: 14px;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-links li {
        margin-bottom: 8px; /* Reduced margin for smaller screens */
    }

    .footer-social {
        justify-content: center; /* Center social icons */
    }

    .footer-social-link {
        width: 30px;
        height: 30px; /* Reduce the size of social icons */
        font-size: 14px;
    }

    .footer-form-input,
    .footer-form-btn {
        padding: 10px; /* Adjust input/button padding */
    }

    .footer-form-title {
        font-size: 14px;
    }

    .footer-bottom {
        flex-direction: column; /* Stack bottom section vertically */
        align-items: flex-start;
        gap: 10px;
    }

    .footer-legal {
        justify-content: center;
    }

    .profile-slide {
      width: 80%;
    }
}

/* For screens smaller than 480px */
@media (max-width: 480px) {
    .footer-logo {
        font-size: 18px; /* Further reduce font size */
    }

    .footer-social-link {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .footer-form-input,
    .footer-form-btn {
        padding: 8px; /* Smaller padding for very small screens */
    }

    .footer-bottom {
        font-size: 0.8rem; /* Reduce font size for footer bottom */
    }
}
 /* live chat */
 /* General styling for the chat container */
.chat-container {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 300px;
  max-height: 400px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  display: none; /* Hidden by default */
  flex-direction: column;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: all 0.3s ease;
}

/* Header for the chat container */
.chat-header {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background-color: #4CAF50;
  color: white;
  border-radius: 8px 8px 0 0;
}

.chat-title {
  display: flex;
  align-items: center;
}

.chat-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

/* Chat messages area */
.chat-messages {
  flex-grow: 1;
  padding: 10px;
  overflow-y: auto;
  max-height: 300px;
}

.chat-message {
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  background-color: #f1f1f1;
  max-width: 80%;
}

.chat-message.user {
  background-color: #e0f7fa;
  margin-left: auto;
  text-align: right;
}

.chat-message.bot {
  background-color: #f1f8e9;
  text-align: left;
}

/* Input container and buttons */
.chat-input-container {
  display: flex;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 0 0 8px 8px;
  align-items: center;
  border-top: 1px solid #ccc;
}

.chat-input {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.chat-send {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px;
  margin-left: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.chat-send:hover {
  background-color: #45a049;
}

/* Chat widget (button to open chat) */
.chat-widget {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 10000;
}

.chat-button {
  background-color: #4CAF50;
  color: white;
  padding: 15px;
  border-radius: 50%;
  border: none;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.chat-button:hover {
  background-color: #45a049;
}

/* For when the chat container is visible */
.chat-container.active {
  display: flex;
}





    /* Search section */
    .search-section {
      padding: 2rem 0;
      background-color:  #f9fafb;
      border-bottom: 1px solid v;
    }

    .search-container {
      max-width: 800px;
      margin: 0 auto;
    }

    .search-box {
      position: relative;
      margin-bottom: 1.5rem;
    }

    .search-input {
      width: 100%;
      padding: 1rem 1.5rem;
      padding-left: 3rem;
      border-radius: 1rem;;
      border: 1px solid #e2e8f0;
      background-color: #ffffff;;
      font-size: 1rem;
      transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow:  0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }

    .search-input:focus {
      outline: none;
      border-color: #4f46e5;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0,0, 0.04);
    }

    .search-icon {
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);
      color: #94a3b8;
    }

    .filter-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1rem;
    }

    .filter-tab {
      padding: 0.5rem 1rem;
      border-radius: 9999px;
      background-color: #ffffff;
      border: 1px solid #e2e8f0;;
      font-size: 0.875rem;
      font-weight: 500;
      cursor: pointer;
      transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .filter-tab:hover {
      background-color:  #334155;
    }

    .filter-tab.active {
      background-color: #4f46e5;
      color: white;
      border-color: #4f46e5;
    }

    /* Questions section */
    .questions-section {
      padding: 4rem 0;
    }

    .questions-container {
      max-width: 800px;
      margin: 0 auto;
    }

    .questions-header {
      margin-bottom: 2rem;
      text-align: center;
    }

    .questions-title {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }

    .questions-description {
      color: #94a3b8;
      max-width: 600px;
      margin: 0 auto;
    }

    .questions-category {
      margin-bottom: 2rem;
    }

    .category-header {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.5rem;
      padding-bottom: 0.5rem;
      border-bottom: 2px solid #4f46e5;
    }

    .category-icon {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg,  #4f46e5 0%,  #6366f1 100%);
      color: white;
      border-radius: 0.5rem;
      font-size: 1.25rem;
    }

    .category-title {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 0;
    }

    .accordion {
      list-style: none;
      margin-bottom: 2rem;
    }

    .accordion-item {
      margin-bottom: 1rem;
      border-radius: 1rem;;
      background-color: #ffffff;;
      border: 1px solid #e2e8f0;;
      overflow: hidden;
      transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .accordion-item:hover {
      box-shadow:  0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }

    .accordion-header {
      padding: 1.25rem;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .accordion-header:hover {
      background-color:  #f9fafb;
    }

    .accordion-icon {
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .accordion-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
    }

    .accordion-inner {
      padding: 0 1.25rem 1.25rem;
      color: #94a3b8;
    }

    .accordion-item.active .accordion-header {
      border-bottom: 1px solid #e2e8f0;;
    }

    .accordion-item.active .accordion-icon {
      transform: rotate(180deg);
    }

    .accordion-item.active .accordion-content {
      max-height: 1000px;
    }

    .accordion-item.active {
      box-shadow:  0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }

    .question-number {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 24px;
      height: 24px;
      background-color:  #4f46e5;
      color: white;
      border-radius: 9999px;
      font-size: 0.75rem;
      font-weight: 600;
      margin-right: 0.75rem;
    }

    .no-results {
      text-align: center;
      padding: 3rem 0;
      color: #94a3b8;
    }

    .no-results-icon {
      font-size: 3rem;
      margin-bottom: 1rem;
      color: var(--muted);
    }

    /* Theme toggle */
    .theme-toggle {
      width: 40px;
      height: 40px;
      border-radius: 9999px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color:  #f9fafb;
      color:  #f8fafc;
      border: none;
      cursor: pointer;
      transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .theme-toggle:hover {
      background-color:  #334155;
    }

    /* Animations */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .fade-in {
      animation: fadeIn 0.8s ease forwards;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .filter-tabs {
        justify-content: center;
      }
    }

    @media (max-width: 480px) {
      
      
      .questions-title {
        font-size: 1.75rem;
      }
      
      .accordion-header {
        padding: 1rem;
        font-size: 0.9rem;
      }
    }














    /* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

/* Resource Card */
.resource-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
.resource-card-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.resource-card-body {
    padding: 15px;
}
.resource-card-title {
    font-size: 1.2rem;
    margin: 0 0 10px;
}
.resource-card-description {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 15px;
}
.resource-card-actions {
    display: flex;
    gap: 10px;
}
.resource-card-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}
.resource-card-btn.primary {
    background: #007bff;
    color: #fff;
}
.resource-card-btn.secondary {
    background: #6c757d;
    color: #fff;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    max-width: 500px;
    width: 90%;
}
.modal.active {
    display: block;
}
.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}
.modal-img {
    max-width: 100%;
    max-height: 200px;
    margin-bottom: 1rem;
}
.modal-img-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    margin-bottom: 1rem;
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
.overlay.active {
    display: block;
}


.test-content {
    display: none;
}
.test-content.show {
    display: block;
}
.test-icon.rotate {
    transform: rotate(180deg);
}
.test-card.active {
    /* Optional: Add styles for active state */
}



.question-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

.question-item.active .question-body {
  max-height: 500px; /* Adjust based on content */
  opacity: 1;
}